package uit.jee.lib.dto;

/**
 *
 * @author ngloc_it
 */
public class BookRequestDTO {
    public final static String BOOK_REQUEST_ID = "MaYeuCau";
    public final static String BOOK_REQUEST_BOOK_ID = "MaSach";
    public final static String BOOK_REQUEST_READER_ID = "MaDocGia";
    public final static String BOOK_REQUEST_DATE = "NgayYeuCau";
    public final static String BOOK_REQUEST_READER_NAME = "TenDocGia";
    public final static String BOOK_REQUEST_BOOK_NAME = "TenSach";


    public final static int BOOK_REQUEST_STATUS_PROCESSED = 1;
    public final static int BOOK_REQUEST_STATUS_UNPROCESS = 0;
    
    private String requestId;
    private String bookId;
    private String readerId;
    private String date;
    private int status; //1: da duyet, 0: chua duyet

    private String readerName;
    private String bookName;

    public BookRequestDTO() {
    }

    public BookRequestDTO(String requestId, String bookId, String readerId, String date, int status, String readerName, String bookName) {
        this.requestId = requestId;
        this.bookId = bookId;
        this.readerId = readerId;
        this.date = date;
        this.status = status;
        this.readerName = readerName;
        this.bookName = bookName;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getReaderName() {
        return readerName;
    }

    public void setReaderName(String readerName) {
        this.readerName = readerName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getReaderId() {
        return readerId;
    }

    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }
}
